<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Contract extends Model
{

    protected $table = 'contract';
    protected $guarded = ['id'];

    public function customer()
    {
        return $this->hasOne(Customer::class,'id','customer_id');
    }

}
